Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mention that state_default can be zero by default. #1478

Merged
merged 3 commits into from
Mar 31, 2023

Conversation

turt2live
Copy link
Member

@turt2live turt2live commented Mar 30, 2023

@turt2live turt2live marked this pull request as ready for review March 30, 2023 18:22
@turt2live turt2live requested a review from a team as a code owner March 30, 2023 18:22
turt2live added a commit to matrix-org/eigen-server that referenced this pull request Mar 30, 2023
@turt2live turt2live enabled auto-merge (squash) March 31, 2023 02:51
@turt2live turt2live merged commit 7670a74 into main Mar 31, 2023
@turt2live turt2live deleted the travis/state_default_is_zero branch March 31, 2023 02:52
richvdh added a commit that referenced this pull request Mar 31, 2023
richvdh added a commit that referenced this pull request Apr 5, 2023
There was substantial confusion around this, but I've done some archaeology.

Basically, this was changed back in r0.5.0 by MSC1304 and matrix-org/synapse#3397. Before that, it was indeed the case that state_default was 0 if there was no m.room.power_levels event, but that was confusing and a source of security holes, so we changed it.

matrix-org/matrix-spec-proposals#1656 changed the spec, but apparently overlooked the text in the description.

Reverts: #1478.
Fixes: #861.
clokep pushed a commit to clokep/matrix-spec that referenced this pull request May 3, 2023
* Mention that `state_default` can be zero by default.

* Changelog

* Update data/event-schemas/schema/m.room.power_levels.yaml

Co-authored-by: Hubert Chathi <[email protected]>

---------

Co-authored-by: Hubert Chathi <[email protected]>
clokep pushed a commit to clokep/matrix-spec that referenced this pull request May 3, 2023
…org#1479)

There was substantial confusion around this, but I've done some archaeology.

Basically, this was changed back in r0.5.0 by MSC1304 and matrix-org/synapse#3397. Before that, it was indeed the case that state_default was 0 if there was no m.room.power_levels event, but that was confusing and a source of security holes, so we changed it.

matrix-org/matrix-spec-proposals#1656 changed the spec, but apparently overlooked the text in the description.

Reverts: matrix-org#1478.
Fixes: matrix-org#861.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants